<?php
/**
 * Created by PhpStorm.
 * User: mars
 * Date: 2019/2/21
 * Time: 12:43 PM
 */

use backend\widgets\Bar;
use backend\grid\CheckboxColumn;
use backend\grid\ActionColumn;
use backend\grid\GridView;
use yii\widgets\Pjax;
use common\libs\Constants;
use backend\models\PartTimeJob;
use yii\bootstrap\Html;


//var_dump($dataProvider)
?>

<div class="user-list-view">
    <!--    --><? //= $this->render('/widgets/_ibox-title') ?>
    <div class="ibox-content">
        <!--        --><? //= Bar::widget() ?>
        <!--        --><?php //Pjax::begin(['id' => 'pjax']); ?>
        <?= GridView::widget([
            'dataProvider' => $dataProvider,
            'columns'      => [
//                ['class' => CheckboxColumn::className()],

                [
                    'attribute' => 'id',
                    'label'     => '用户id',
                    'width'     => '5px'
                ],
                [
                    'attribute' => 'username'
                ],
                [
                    'attribute' => 'phone',
                    'label'     => '手机号'
                ],
//                        'uid',
//                        'type',


//                [
//                    'class' => ActionColumn::className(),
//                    'width' => '150px',
//                ],
            ],
        ]); ?>
        <!--        --><?php //Pjax::end(); ?>
    </div>
    <div>
